<head>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

  <title>
    {% if page.title == "Home" %}
      {{site.title}} - {{site.tagline}}
    {% else %}
      {% if page.tag %} {{site.data.tags[page.tag].name}} {% else %} {{page.title}} {% endif %} - {{site.title}}
    {% endif %}
  </title>

  <!-- CSS -->
  <link rel="stylesheet" href="{{site.baseurl}}/public/css/styles.css">
  <!-- 字体 -->
  <link rel="stylesheet" href="{{site.cdn}}/public/fonts/iconfont.css">

  {% assign color = page.color %}

  {% unless color %}
    {% if page.tag %}
      {% assign tag = site.data.tags[page.tag] %}
      {% assign color = tag.color %}
    {% else %}
      {% if page.tags.size > 0 %}
        {% assign tag_name = page.tags[0] %}
        {% assign tag = site.data.tags[tag_name] %}
        {% assign color = tag.color %}
      {% endif %}
    {% endif %}
  {% endunless %}

  {% unless color %}
    {% assign color = site.color %}
  {% endunless %}

  <style>
    .content a,
    .related-posts li a:hover {
      color: {{color}};
    }
    ::selection {
      color: #fff;
      background: {{color}};
    }
    ::-moz-selection {
      color: #fff;
      background: {{color}};
    }
  </style>

  <!-- Icons -->
  <link rel="icon" type="image/png" href="{{site.cdn}}/public/images/icons/launcher-icon-128x128.png">
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{site.cdn}}/public/images/icons/launcher-icon-152x152.png">
  <!-- RSS -->
  <link rel="alternate" type="application/atom+xml" title="{{site.title}}" href="{{site.baseurl}}/doc/atom.xml">

  <link rel="manifest" href="/doc/manifest.json">

  <!-- 取消访问统计 -->
  <!-- <script async data-no-instant>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', '{{site.analytics}}', 'auto');
    ga('send', 'pageview');
  </script> -->
  <!-- <script src="{{site.cdn}}/public/js/jquery-3.4.1.min.js"></script> -->
  <script src="//mirror.fe80.cn/jquery/3.6.0/jquery.min.js"></script>
  <!-- 网页访问计数器busuanzi -->
  <!-- <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" data-no-instant></script> -->
  <script>
      var ho = window.location.hostname;
      var domains = ['127.0.0.1','comeround.cn','blog.fe80.cn','b.fe80.cn','fe80.cn'];
      
      if($.inArray(ho, domains) === -1){
        window.location.href = 'http://comeround.cn' + location.pathname;
      }
  </script>
  <!-- 收集访问IP 2021/01/28 -->
  <!-- <script type="text/javascript" src="https://ayouleyang.cn/ip"></script> -->
</head>